<!DOCTYPE html>
<html lang="en" xmlns:color="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <title>BUFF store</title>
    <!-- Favicon-->
    <link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
    <!-- Bootstrap icons-->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" />
    <!-- Core theme CSS (includes Bootstrap)-->
    <link href="css/styles.css" rel="stylesheet" />
</head>
<body>
<!-- Navigation-->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
    <div class="container px-6 px-lg-6">
        <a class="navbar-brand" href="#!">菜单栏</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav me-auto mb-2 mb-lg-0 ms-lg-4">
                <li class="nav-item"><a class="nav-link active" aria-current="page" href="./test.jsp">首页</a></li>
                <li class="nav-item"><a class="nav-link" href="#!">搜索</a></li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">饰品</a>
                    <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                        <li><a class="dropdown-item" href="#!">磨损分类</a></li>
                        <li><hr class="dropdown-divider" /></li>
                        <li><a class="dropdown-item" href="#!">崭新出厂</a></li>
                        <li><a class="dropdown-item" href="#!">略有磨损</a></li>
                        <li><a class="dropdown-item" href="#!">久经沙场</a></li>
                        <li><a class="dropdown-item" href="#!">破损不堪e</a></li>
                    </ul>
                </li>
            </ul>
            <button class="btn btn-outline-dark" >
                <a class="nav-item text-decoration-none color:#fff " aria-current="page"  href='/myapp/logout'>登 出</a>
            </button>
        </div>
    </div>
</nav>
<!-- Header-->
<header class="bg-dark py-5">
    <div class="container px-4 px-lg-5 my-5">
        <div class="text-center text-white">
            <h1 class="display-4 fw-bolder">添加饰品</h1>
            <p class="lead fw-normal text-white-50 mb-0">好的描述能吸引更多人哦！</p>
        </div>
    </div>
</header>
<!-- Section-->
<section class="py-5">
    <center>
        <form action="./addItem" method="POST" enctype="multipart/form-data">
            <table style='background-color:#dddddd;padding:2em'>
                <tr><td>名称</td><td><input type='text' name=name value=''></td></tr>
                <tr><td>模板</td><td><input type='text' name=template value=''></td></tr>
                <tr><td>价格: </td><td><input type='text' name=price  value=''></td></tr>
                <tr><td>类别: </td><td>
                    <select name='type'>
                        <option value='崭新出厂'>崭新出厂
                        <option value='略有磨损'>略有磨损
                        <option value='久经沙场'>久经沙场
                        <option value='战痕累累'>破损不堪
                        <option value='破损不堪'>破损不堪
                    </select>
                </td></tr>
                <tr><td>图片: </td><td><input type='file' name="pic"></td></tr>
                <tr><td>描述: </td><td><textarea name="describe" cols="50" rows="5"></textarea></td></tr>
                <tr><td colspan="2" align="center"><br><input type='submit' value="添加"></td></tr>
            </table>
        </form>
        </div>
    </center>
</section>


<!-- Footer-->
<footer class="py-5 bg-dark">
    <div class="container"><p class="m-0 text-center text-white">by 周文铭迪</p></div>
</footer>
<!-- Bootstrap core JS-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>
